namespace WP7Contrib.Services.BingMaps.Model
{
    using Common;

    public class RouteHint : BaseModel, ICloneable<RouteHint>
    {
        private string hintType;
        private string text;

        public string HintType
        {
            get
            {
                return this.hintType;
            }
            set
            {
                this.SetPropertyAndNotify(ref this.hintType, value, () => this.HintType);
            }
        }

        public string Text
        {
            get
            {
                return this.text;
            }
            set
            {
                this.SetPropertyAndNotify(ref this.text, value, () => this.Text);
            }
        }

        public RouteHint ShallowClone()
        {
            return this.DeepClone();
        }

        public RouteHint DeepClone()
        {
            return new RouteHint
            {
                HintType = this.hintType,
                Text = this.text
            };
        }
    }
}